home *** CD-ROM | disk | FTP | other *** search
- Path: taurus.fccc.edu!cherceg
- From: cherceg@fccc.edu (Carl Herceg)
- Newsgroups: comp.lang.c
- Subject: Re: Leap Years
- Date: 16 Feb 1996 15:47:41 GMT
- Organization: Fox Chase Cancer Center
- Sender: cherceg@vega.rm.fccc.edu (Carl Herceg)
- Distribution: world
- Message-ID: <4g28ut$p87@taurus.fccc.edu>
- References: <8BA8405.02C70020E1.uuout@sourcebbs.com> <4fsk14$jo2@kocrsv08.delcoelect.com> <3121EF9A.CA5@mail.isd.net>
- Reply-To: C_Herceg@fccc.edu
- NNTP-Posting-Host: vega.rm.fccc.edu
- X-Newsreader: mxrn 6.18-16
-
-
- In article <3121EF9A.CA5@mail.isd.net>, "David A. Peterson"
- <dpeterso@mail.isd.net> writes:
- >Richard E. Fiegle wrote:
- >>
- >> david.mohorn@sourcebbs.com (DAVID MOHORN) wrote:
- >> >How do you feature out leap years? If its evenly divisible by 400
- >and
- >> >4?
- >> >
- >>
- >> Anything divisible by 4 is already guaranteed to be
- >> divisible by 400.
- >
- >
- >Leap years are evenly divisible by 4, except those that are evenly
- >divisible by 100.
- >Leap centuries are evenly divisible by 400. 2000 will be a leap
- >century!
-
- Why, then, is 2000 a leap year, since it is evenly divisible by 100?
- Wasn't 1900 a leap year? If 1904 was (1904/4=476) by your definition a
- leap year, then 1900 must have been. Why are years that are evenly
- divisible by 100 excluded?
- --
-
-
- C_Herceg@fccc.edu
-
- Standard disclaimer:
- all opinions are my own...blah blah blah...in no way reflect
- those of my employer...blah blah blah...blah blah blah
-
-